package QL;

import java.util.Map;

public class ButlerGetRechargeOrderListRequest implements IQLRequest
{
    /// <summary>
    /// 区服Id
    /// </summary>
    public long ZoneId;

    /// <summary>
    /// 查询所有订单还是指定玩家？如果是所有订单请填0
    /// </summary>
    public long UserId;

    /// <summary>
    /// 0全部订单 1商城 2月卡 3首充礼包 4每日充值 5投资炮倍 6出海保险 7N天持续奖励 8炮倍解锁
    /// </summary>
    public long ContentType;

    /// <summary>
    /// 0全部 1未完成 2已完成
    /// </summary>
    public long OrderState;

    /// <summary>
    /// 开始时间
    /// </summary>
    public String StartTime;

    /// <summary>
    /// 结束时间
    /// </summary>
    public String EndTime;

    /// <summary>
    /// 第几页？
    /// </summary>
    public long PageIndex;

    /// <summary>
    /// 每页多少条纪录？
    /// </summary>
    public long PageCount;

    /// <summary>
    /// 唯一订单号，如果全部订单该字段留空
    /// </summary>
    public String FilterOrderNo;

    @Override
    public String GetApiName()
    {
        return "butler.get.recharge.order.list";
    }

    @Override
    public void Validate()
    {
    }

    @Override
    public void AddParameters(Map<String, String> map)
    {
        map.put("zone_id", String.valueOf(ZoneId));
        map.put("user_id", String.valueOf(UserId));
        map.put("content_type", String.valueOf(ContentType));
        map.put("order_state", String.valueOf(OrderState));
        map.put("start_time", StartTime);
        map.put("end_time", EndTime);
        map.put("page_index", String.valueOf(PageIndex));
        map.put("page_count", String.valueOf(PageCount));
        map.put("filter_order_no", FilterOrderNo);
    }
}
